<?php
/* @var $this ArticleController */
/* @var $model Article */
/* @var $form CActiveForm */
?>

<div class="wide form">


	 <?php $form=$this->beginWidget('CActiveForm', 
      array("id"=>'serach',
      	"method"=>"get",
      'enableClientValidation'=>true,
      'clientOptions'=>array(
        'validateOnSubmit'=>true,
      ),
      "htmlOptions"=>array(
          "class"=>"form-search",
          
        )
    )); ?>


      <div class="input-prepend">
  			<span class="add-on">标签</span>
      	 <?php echo $form->textField($model,'tag') ?>
      </div>
      <div class="input-prepend">
        <span class="add-on">状态</span>
         <?php echo $form->dropDownList($model,'status',$status) ?>
      </div>
      <div class="input-append">
      <?php echo $form->textField($model,'title',array('class'=>'search-query','placeholder'=>'标题')) ?>
      <button type="submit" class="btn">搜索</button>
      </div>

    
<?php $this->endWidget(); ?>

</div><!-- search-form -->